import 'package:flutter/material.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';

class ToastUtils {
  static void showToast({
    String tip = "toast",
    Duration displayTime = const Duration(seconds: 2),
  }) {
    SmartDialog.showToast(tip,
        debounce: true,
        alignment: Alignment.bottomCenter,
        displayTime: displayTime);
  }
}
